package cn.hackcloud.concurrency.future;

/**
 * 用于调用者实现计算逻辑
 * Created by www.ibfbc.com
 */
@FunctionalInterface
public interface Task<IN, OUT> {
    //给定一个参数，计算后返回结果
    OUT get(IN input);
}
